using System;
using System.Text;
using System.Collections.ObjectModel;

namespace PersistenceObject.Framework.Expressions
{
    public interface IExpression
    {
        void Add(params IExpression[] expressions);
        void Add(UniteType unittype, params IExpression[] expressions);
        void ClearParams();
        Collection<FieldValue> GetDataParams(IDbDriver dbOperator);
        string GetFilter(IDbDriver dbOperator);
        string ServiceBrokerGetFilter(IDbDriver dbOperator);
    }

}
